/**
 * 
 */
package gameUtils;
import javax.swing.JLabel;

public class LockedSelectionStackNode extends StackNode {
	public int stackNumber;
	public boolean isSelectable;
	public Integer nodeValue;
	public JLabel piece;
	private LockedSelectionStackNode nextNode;
	
	
	public String toString(){
		return("Stack Number:"+stackNumber+ " Is selectable: "+ isSelectable+"\n"+
				"Int value: "+ nodeValue+"\n");
	}
	public void setNextNode(LockedSelectionStackNode node){
		this.nextNode = node;
	}
	public LockedSelectionStackNode getNextNode(){
		return nextNode;
	}
	
	public LockedSelectionStackNode(int stackNumber, JLabel piece, LockedSelectionStackNode nextNode, Integer nodeValue){
		this.nextNode = nextNode;
		this.stackNumber = stackNumber;
		this.isSelectable = true;
		this.nodeValue = nodeValue;
		this.piece = piece;
	}
}
